﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ChinaClipping.ClippingMaster.Model
{
    public class User
    {
        private string _id;
        private string _name;
        private List<ClientInfo> _clients;

        public User(string id, string name,List<ClientInfo> clients)
        {
            this._id = id;
            this._name = name;
            this._clients = clients;
        }
        /// <summary>
        /// 获取用户ID
        /// </summary>
        public string Id
        {
            get { return _id; }
        }
        /// <summary>
        /// 获取用户名
        /// </summary>
        public string Name
        {
            get { return _name; }
        }
        /// <summary>
        /// 获取用户负责的客户信息
        /// </summary>
        public List<ClientInfo> Clients
        {
            get { return _clients; }
        }
    }
}
